﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections.ObjectModel;

namespace ContactManager.Models.Validation
{
    public class ValidationErrorCollection : Collection<ValidationError> 
    {
        public void Add(string property, string message)
        {
            Add(new ValidationError(property, message));
        } 

    }
}
